<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>精选约会推荐 - 心动社交</title>
    
    <!-- 引入外部资源 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <style>
        :root {
            --primary: #E94664;
            --primary-light: #FF6685;
            --secondary: #6366F1;
            --accent: #F59E0B;
            --dark: #1F2937;
            --light: #F9FAFB;
            --gray: #6B7280;
            --light-gray: #E5E7EB;
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
            --shadow: 0 4px 16px rgba(0,0,0,0.12);
            --transition: all 0.3s ease;
            --radius: 12px;
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: #FFF5F7;
            color: var(--dark);
            line-height: 1.6;
            padding-bottom: 3rem;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部样式 */
        .page-header {
            padding: 2.5rem 0;
            margin-bottom: 2rem;
            background: linear-gradient(135deg, #FFEFF2 0%, #F9FAFB 100%);
            border-radius: 0 0 30px 30px;
        }
        
        .page-title {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.75rem;
        }
        
        .page-subtitle {
            font-size: 1.1rem;
            color: var(--gray);
            max-width: 700px;
        }
        
        /* 分类导航 */
        .category-nav {
            overflow-x: auto;
            padding-bottom: 0.5rem;
            margin-bottom: 1.5rem;
            scrollbar-width: thin;
        }
        
        .category-nav::-webkit-scrollbar {
            height: 4px;
        }
        
        .category-nav::-webkit-scrollbar-thumb {
            background-color: var(--light-gray);
            border-radius: 2px;
        }
        
        .category-list {
            display: flex;
            gap: 10px;
            min-width: max-content;
        }
        
        .category-item {
            background-color: white;
            border: 1px solid var(--light-gray);
            border-radius: 20px;
            padding: 6px 18px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .category-item:hover, .category-item.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 工具栏 */
        .toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .sort-options {
            display: flex;
            gap: 10px;
        }
        
        .sort-btn {
            background-color: white;
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            padding: 6px 14px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .sort-btn:hover, .sort-btn.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .view-toggle {
            display: flex;
            gap: 8px;
        }
        
        .view-btn {
            background-color: white;
            border: 1px solid var(--light-gray);
            border-radius: 6px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .view-btn:hover, .view-btn.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 布局容器 */
        .recommendations-container {
            margin-bottom: 2.5rem;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .section-title i {
            color: var(--primary);
        }
        
        /* 大图横幅布局 */
        .banner-layout {
            margin-bottom: 3rem;
        }
        
        .banner-card {
            position: relative;
            border-radius: var(--radius);
            overflow: hidden;
            height: 400px;
            box-shadow: var(--shadow);
        }
        
        .banner-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 2rem;
            color: white;
        }
        
        .banner-label {
            background-color: var(--primary);
            color: white;
            border-radius: 4px;
            padding: 3px 10px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }
        
        .banner-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            max-width: 70%;
        }
        
        .banner-desc {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            max-width: 60%;
            opacity: 0.9;
        }
        
        /* 网格布局 */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        /* 列表布局 */
        .list-layout {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        /* 交错布局 */
        .masonry-layout {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            grid-auto-rows: 0;
        }
        
        /* 卡片基础样式 */
        .date-card {
            background-color: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .date-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }
        
        /* 列表布局卡片样式 */
        .list-layout .date-card {
            display: grid;
            grid-template-columns: 250px 1fr;
        }
        
        /* 标签和指示器 */
        .date-label {
            position: absolute;
            top: 12px;
            left: 12px;
            background-color: var(--primary);
            color: white;
            border-radius: 4px;
            padding: 3px 10px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 1;
        }
        
        .cost-indicator {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: var(--accent);
            color: white;
            border-radius: 4px;
            padding: 3px 10px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 1;
        }
        
        /* 图片容器 */
        .img-container {
            position: relative;
            overflow: hidden;
        }
        
        .card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .date-card:hover .card-img {
            transform: scale(1.05);
        }
        
        /* 多图布局 */
        .multi-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3px;
            height: 100%;
        }
        
        .multi-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .multi-images.count-1 {
            grid-template-columns: 1fr;
        }
        
        .multi-images.count-3 {
            grid-template-rows: repeat(2, 1fr);
        }
        
        .multi-images.count-3 .multi-img:first-child {
            grid-column: span 2;
        }
        
        .multi-images.count-4 {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
        
        .img-count {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.6);
            color: white;
            border-radius: 3px;
            padding: 2px 6px;
            font-size: 0.75rem;
        }
        
        /* 卡片内容 */
        .card-body {
            padding: 1.25rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .date-category {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            background-color: rgba(233, 70, 100, 0.1);
            color: var(--primary);
        }
        
        .date-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--dark);
            transition: var(--transition);
            line-height: 1.4;
        }
        
        .date-card:hover .date-title {
            color: var(--primary);
        }
        
        .date-desc {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.5;
            flex-grow: 1;
        }
        
        .date-meta {
            font-size: 0.8rem;
            color: var(--gray);
            margin-bottom: 1rem;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .meta-info {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 作者信息 */
        .publisher {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed var(--light-gray);
        }
        
        .publisher-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(233, 70, 100, 0.1);
        }
        
        .publisher-info {
            display: flex;
            flex-direction: column;
        }
        
        .publisher-name {
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .post-date {
            font-size: 0.75rem;
            color: var(--gray);
        }
        
        /* 社交数据 */
        .social-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            transition: var(--transition);
            padding: 3px 5px;
            border-radius: 4px;
        }
        
        .stat-item:hover {
            background-color: rgba(233, 70, 100, 0.05);
            color: var(--primary);
        }
        
        .stat-item.liked {
            color: var(--primary);
        }
        
        .stat-item.saved {
            color: var(--secondary);
        }
        
        /* 无图卡片样式 */
        .no-image-card {
            border: 1px solid var(--light-gray);
        }
        
        .no-image-header {
            background-color: rgba(233, 70, 100, 0.05);
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .no-image-body {
            padding: 1.25rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .banner-title {
                font-size: 1.75rem;
                max-width: 80%;
            }
            
            .banner-desc {
                max-width: 80%;
            }
            
            .list-layout .date-card {
                grid-template-columns: 200px 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .banner-card {
                height: 300px;
            }
            
            .banner-title {
                font-size: 1.5rem;
                max-width: 100%;
            }
            
            .banner-desc {
                max-width: 100%;
                font-size: 0.9rem;
            }
            
            .list-layout .date-card {
                grid-template-columns: 1fr;
            }
            
            .toolbar {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .view-toggle {
                align-self: flex-end;
            }
            
            .page-title {
                font-size: 1.75rem;
            }
        }
        
        @media (max-width: 576px) {
            .banner-card {
                height: 250px;
            }
            
            .banner-overlay {
                padding: 1.5rem;
            }
            
            .banner-title {
                font-size: 1.25rem;
            }
            
            .banner-desc {
                display: none;
            }
            
            .grid-layout, .masonry-layout {
                grid-template-columns: 1fr;
            }
            
            .social-stats {
                flex-wrap: wrap;
                gap: 10px;
            }
            
            .section-title {
                font-size: 1.25rem;
            }
        }
        
        /* 加载更多按钮 */
        .load-more {
            display: block;
            margin: 2rem auto;
            background-color: white;
            border: 1px solid var(--primary);
            color: var(--primary);
            padding: 10px 28px;
            border-radius: 25px;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .load-more:hover {
            background-color: var(--primary);
            color: white;
        }
    </style>
</head>
<body>
    <div class="container py-4 px-4">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">精选约会推荐</h1>
            <p class="page-subtitle">发现最适合你的约会灵感，从浪漫晚餐到户外冒险，总有一款适合你</p>
        </div>
        
        <!-- 分类导航 -->
        <div class="category-nav">
            <div class="category-list">
                <div class="category-item active">
                    <i class="fas fa-th"></i> 全部推荐
                </div>
                <div class="category-item">
                    <i class="fas fa-utensils"></i> 美食约会
                </div>
                <div class="category-item">
                    <i class="fas fa-tree"></i> 户外活动
                </div>
                <div class="category-item">
                    <i class="fas fa-palette"></i> 文艺体验
                </div>
                <div class="category-item">
                    <i class="fas fa-gamepad"></i> 娱乐游戏
                </div>
                <div class="category-item">
                    <i class="fas fa-film"></i> 影视音乐
                </div>
                <div class="category-item">
                    <i class="fas fa-book"></i> 文化教育
                </div>
                <div class="category-item">
                    <i class="fas fa-gift"></i> 惊喜创意
                </div>
                <div class="category-item">
                    <i class="fas fa-wallet"></i> 经济实惠
                </div>
            </div>
        </div>
        
        <!-- 工具栏 -->
        <div class="toolbar">
            <div class="sort-options">
                <button class="sort-btn active">
                    <i class="fas fa-heart"></i> 推荐指数
                </button>
                <button class="sort-btn">
                    <i class="fas fa-clock"></i> 最新发布
                </button>
                <button class="sort-btn">
                    <i class="fas fa-thumbs-up"></i> 点赞最多
                </button>
                <button class="sort-btn">
                    <i class="fas fa-money-bill-wave"></i> 价格排序
                </button>
            </div>
            
            <div class="view-toggle">
                <button class="view-btn active" id="gridView">
                    <i class="fas fa-th"></i>
                </button>
                <button class="view-btn" id="listView">
                    <i class="fas fa-list"></i>
                </button>
                <button class="view-btn" id="masonryView">
                    <i class="fas fa-th-large"></i>
                </button>
            </div>
        </div>
        
        <!-- 约会推荐容器 -->
        <div class="recommendations-container">
            <!-- 今日精选（大图横幅布局） -->
            <h2 class="section-title"><i class="fas fa-star"></i> 今日精选</h2>
            <div class="banner-layout">
                <div class="banner-card">
                    <img src="https://picsum.photos/1200/600?random=10" alt="山顶日落野餐约会" class="banner-img">
                    <div class="banner-overlay">
                        <span class="banner-label">浪漫首选</span>
                        <h3 class="banner-title">山顶日落野餐，见证最美黄昏</h3>
                        <p class="banner-desc">
                            乘坐缆车登上城市最高峰，在观景台享用精心准备的野餐篮，随着日落慢慢欣赏城市全景，是情侣们最爱的约会方式之一。
                        </p>
                        
                        <div class="publisher" style="border-bottom: none; margin-bottom: 1rem;">
                            <img src="https://picsum.photos/100/100?random=101" alt="摄影师阿明的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">摄影师阿明</div>
                                <div class="post-date">发布于 2天前 · 适合: 情侣</div>
                            </div>
                        </div>
                        
                        <div class="social-stats" style="color: rgba(255,255,255,0.9);">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 12.5k 浏览
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 342 评论
                            </div>
                            <div class="stat-item liked">
                                <i class="fas fa-heart"></i> 2.1k 点赞
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 876 收藏
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-map-marker-alt"></i> 云顶山观景台
                            </div>
                            <div class="stat-item">
                                <i class="fas fa-money-bill-wave"></i> ¥268/人
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 热门推荐（网格布局） -->
            <h2 class="section-title"><i class="fas fa-fire"></i> 热门推荐</h2>
            <div class="grid-layout" id="gridContainer">
                <!-- 网格卡片1：多图4张 -->
                <div class="date-card">
                    <div class="img-container" style="height: 200px;">
                        <div class="multi-images count-4">
                            <img src="https://picsum.photos/600/400?random=11" alt="手工陶艺制作图片1" class="multi-img">
                            <img src="https://picsum.photos/600/400?random=12" alt="手工陶艺制作图片2" class="multi-img">
                            <img src="https://picsum.photos/600/400?random=13" alt="手工陶艺制作图片3" class="multi-img">
                            <img src="https://picsum.photos/600/400?random=14" alt="手工陶艺制作图片4" class="multi-img">
                        </div>
                        <div class="img-count">4图</div>
                        <div class="date-label">创意</div>
                        <div class="cost-indicator">¥168/人</div>
                    </div>
                    <div class="card-body">
                        <span class="date-category">手工体验</span>
                        <h3 class="date-title">双人陶艺创作，共同制作爱情信物</h3>
                        <p class="date-desc">
                            在专业陶艺师指导下，两人合作完成一件陶艺作品，从捏坯到上釉全程参与。作品烧制完成后可作为爱情信物永久保存，意义非凡。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 2.5小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 陶乐坊
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-sun"></i> 日间
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=102" alt="陶艺家小琳的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">陶艺家小琳</div>
                                <div class="post-date">发布于 5天前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 8.7k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 215
                            </div>
                            <div class="stat-item liked">
                                <i class="fas fa-heart"></i> 1.3k
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 562
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 网格卡片2：无图 -->
                <div class="date-card no-image-card">
                    <div class="no-image-header">
                        <div class="date-label">免费</div>
                        <div class="cost-indicator">免费</div>
                    </div>
                    <div class="no-image-body">
                        <span class="date-category">文化体验</span>
                        <h3 class="date-title">城市美术馆巡礼，艺术熏陶约会</h3>
                        <p class="date-desc">
                            参观城市美术馆的最新展览，馆内有多个主题展厅，每小时有免费讲解。建议提前查看展览信息，准备一些艺术话题，在欣赏艺术的同时增进交流。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 3小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 市立美术馆
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-sun"></i> 日间
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=103" alt="艺术评论家阿哲的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">艺术评论家阿哲</div>
                                <div class="post-date">发布于 1周前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 5.2k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 143
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i> 876
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 321
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 网格卡片3：单图 -->
                <div class="date-card">
                    <div class="img-container" style="height: 200px;">
                        <img src="https://picsum.photos/600/400?random=15" alt="星空露营约会" class="card-img">
                        <div class="date-label">浪漫</div>
                        <div class="cost-indicator">¥320/人</div>
                    </div>
                    <div class="card-body">
                        <span class="date-category">户外体验</span>
                        <h3 class="date-title">星空露营约会，远离城市喧嚣</h3>
                        <p class="date-desc">
                            在近郊营地露营，提供双人帐篷和睡袋。晚上围着篝火聊天，抬头可见满天繁星。营地有热水淋浴和卫生间，新手也能轻松体验。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 过夜
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 星光营地
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-moon"></i> 夜间
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=104" alt="户外达人小峰的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">户外达人小峰</div>
                                <div class="post-date">发布于 3天前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 9.3k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 287
                            </div>
                            <div class="stat-item liked">
                                <i class="fas fa-heart"></i> 1.8k
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 743
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 最新发布（列表布局） -->
            <h2 class="section-title"><i class="fas fa-clock"></i> 最新发布</h2>
            <div class="list-layout" id="listContainer">
                <!-- 列表卡片1：多图2张 -->
                <div class="date-card">
                    <div class="img-container">
                        <div class="multi-images count-2">
                            <img src="https://picsum.photos/600/400?random=16" alt="咖啡品鉴会图片1" class="multi-img">
                            <img src="https://picsum.photos/600/400?random=17" alt="咖啡品鉴会图片2" class="multi-img">
                        </div>
                        <div class="img-count">2图</div>
                        <div class="date-label">品味</div>
                        <div class="cost-indicator">¥98/人</div>
                    </div>
                    <div class="card-body">
                        <span class="date-category">美食体验</span>
                        <h3 class="date-title">精品咖啡品鉴会，共享悠闲午后</h3>
                        <p class="date-desc">
                            专业咖啡师带你体验从咖啡豆到咖啡的全过程，学习品鉴不同产地的咖啡风味。包含4种单品咖啡品尝和手工甜点搭配，适合喜欢慢生活的情侣。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 1.5小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 街角咖啡实验室
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-sun"></i> 午后
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-star"></i> 4.8分
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=105" alt="咖啡师小雅的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">咖啡师小雅</div>
                                <div class="post-date">发布于 1天前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 3.2k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 87
                            </div>
                            <div class="stat-item liked">
                                <i class="fas fa-heart"></i> 542
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 218
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 列表卡片2：单图 -->
                <div class="date-card">
                    <div class="img-container">
                        <img src="https://picsum.photos/600/400?random=18" alt="密室逃脱约会" class="card-img">
                        <div class="date-label">互动</div>
                        <div class="cost-indicator">¥128/人</div>
                    </div>
                    <div class="card-body">
                        <span class="date-category">娱乐体验</span>
                        <h3 class="date-title">情侣密室逃脱，合作挑战闯关</h3>
                        <p class="date-desc">
                            专为情侣设计的密室逃脱主题，难度适中，需要两人密切合作才能解开谜题。主题包括浪漫冒险和悬疑故事两种选择，结束后可获得纪念照片。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 1小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 逃脱空间体验馆
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-moon"></i> 全天
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-star"></i> 4.6分
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=106" alt="游戏设计师阿凯的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">游戏设计师阿凯</div>
                                <div class="post-date">发布于 2天前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 4.5k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 132
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i> 765
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 326
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 创意约会（交错布局） -->
            <h2 class="section-title"><i class="fas fa-lightbulb"></i> 创意约会</h2>
            <div class="masonry-layout" id="masonryContainer">
                <!-- 交错卡片1：多图3张 -->
                <div class="date-card" style="grid-row: span 2;">
                    <div class="img-container" style="height: 300px;">
                        <div class="multi-images count-3">
                            <img src="https://picsum.photos/600/400?random=19" alt="自制披萨约会图片1" class="multi-img">
                            <img src="https://picsum.photos/600/400?random=20" alt="自制披萨约会图片2" class="multi-img">
                            <img src="https://picsum.photos/600/400?random=21" alt="自制披萨约会图片3" class="multi-img">
                        </div>
                        <div class="img-count">3图</div>
                        <div class="date-label">美食</div>
                        <div class="cost-indicator">¥158/人</div>
                    </div>
                    <div class="card-body">
                        <span class="date-category">烹饪体验</span>
                        <h3 class="date-title">双人披萨制作，享受烹饪乐趣</h3>
                        <p class="date-desc">
                            在专业厨师指导下，两人合作制作属于自己的披萨，从揉面到配料全程参与。完成后可以享用自己的作品，还能带走制作秘籍在家复刻。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 2小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 烘焙时光工坊
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=107" alt="厨师长老王的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">厨师长老王</div>
                                <div class="post-date">发布于 4天前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 6.8k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 198
                            </div>
                            <div class="stat-item liked">
                                <i class="fas fa-heart"></i> 1.2k
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 456
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 交错卡片2：无图 -->
                <div class="date-card no-image-card">
                    <div class="no-image-header">
                        <div class="date-label">怀旧</div>
                        <div class="cost-indicator">¥60/人</div>
                    </div>
                    <div class="no-image-body">
                        <span class="date-category">娱乐体验</span>
                        <h3 class="date-title">复古游戏厅约会，重温童年时光</h3>
                        <p class="date-desc">
                            充满80/90年代回忆的复古游戏厅，有街霸、拳皇、赛车等经典游戏。建议进行友好比赛，增加互动乐趣，最后可以拍一组复古风合照。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 2小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 时光游戏厅
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=108" alt="游戏迷阿杰的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">游戏迷阿杰</div>
                                <div class="post-date">发布于 6天前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 4.1k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 123
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i> 654
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 234
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 交错卡片3：单图 -->
                <div class="date-card">
                    <div class="img-container" style="height: 180px;">
                        <img src="https://picsum.photos/600/400?random=22" alt="骑行约会" class="card-img">
                        <div class="date-label">运动</div>
                        <div class="cost-indicator">¥80/人</div>
                    </div>
                    <div class="card-body">
                        <span class="date-category">户外活动</span>
                        <h3 class="date-title">滨江骑行，享受微风与阳光</h3>
                        <p class="date-desc">
                            沿着滨江绿道骑行，全程约15公里，沿途有多个休息点和观景台。提供山地车和头盔，终点有一家口碑不错的咖啡馆可以休息。
                        </p>
                        
                        <div class="date-meta">
                            <div class="meta-info">
                                <i class="far fa-clock"></i> 3小时
                            </div>
                            <div class="meta-info">
                                <i class="fas fa-map-marker-alt"></i> 滨江公园
                            </div>
                        </div>
                        
                        <div class="publisher">
                            <img src="https://picsum.photos/100/100?random=109" alt="骑行爱好者阿力的头像" class="publisher-avatar">
                            <div class="publisher-info">
                                <div class="publisher-name">骑行爱好者阿力</div>
                                <div class="post-date">发布于 1周前</div>
                            </div>
                        </div>
                        
                        <div class="social-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i> 3.5k
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i> 98
                            </div>
                            <div class="stat-item">
                                <i class="far fa-heart"></i> 543
                            </div>
                            <div class="stat-item saved">
                                <i class="fas fa-bookmark"></i> 187
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 加载更多按钮 -->
        <button class="load-more">
            <i class="fas fa-refresh"></i> 加载更多约会推荐
        </button>
    </div>

    <script>
        // 视图切换功能
        const gridViewBtn = document.getElementById('gridView');
        const listViewBtn = document.getElementById('listView');
        const masonryViewBtn = document.getElementById('masonryView');
        const gridContainer = document.getElementById('gridContainer');
        const listContainer = document.getElementById('listContainer');
        const masonryContainer = document.getElementById('masonryContainer');
        
        // 默认只显示网格布局
        listContainer.style.display = 'none';
        masonryContainer.style.display = 'none';
        
        gridViewBtn.addEventListener('click', function() {
            gridContainer.style.display = 'grid';
            listContainer.style.display = 'none';
            masonryContainer.style.display = 'none';
            setActiveViewBtn(this);
        });
        
        listViewBtn.addEventListener('click', function() {
            gridContainer.style.display = 'none';
            listContainer.style.display = 'flex';
            masonryContainer.style.display = 'none';
            setActiveViewBtn(this);
        });
        
        masonryViewBtn.addEventListener('click', function() {
            gridContainer.style.display = 'none';
            listContainer.style.display = 'none';
            masonryContainer.style.display = 'grid';
            setActiveViewBtn(this);
        });
        
        function setActiveViewBtn(btn) {
            document.querySelectorAll('.view-btn').forEach(b => b.classList.remove('active'));
            btn.classList.add('active');
        }
        
        // 分类切换功能
        document.querySelectorAll('.category-item').forEach(item => {
            item.addEventListener('click', function() {
                document.querySelectorAll('.category-item').forEach(i => i.classList.remove('active'));
                this.classList.add('active');
                showToast(`已切换到 "${this.textContent.trim()}" 分类`);
            });
        });
        
        // 排序按钮功能
        document.querySelectorAll('.sort-btn').forEach(btn => {
            btn.addEventListener('click', function() {
                document.querySelectorAll('.sort-btn').forEach(b => b.classList.remove('active'));
                this.classList.add('active');
                showToast(`已按 "${this.textContent.trim()}" 排序`);
            });
        });
        
        // 点赞功能
        document.querySelectorAll('.stat-item .fa-heart').forEach(icon => {
            icon.parentElement.addEventListener('click', function(e) {
                e.stopPropagation();
                
                const isLiked = this.classList.contains('liked');
                let countText = this.innerHTML.split('</i>')[1].trim();
                let count = parseInt(countText.replace(/,|\D/g, ''));
                
                if (isLiked) {
                    this.classList.remove('liked');
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    count--;
                } else {
                    this.classList.add('liked');
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    count++;
                }
                
                this.innerHTML = `<i class="${icon.classList.value}"></i> ${count.toLocaleString()} 点赞`;
                showToast(isLiked ? "已取消点赞" : "点赞成功");
            });
        });
        
        // 收藏功能
        document.querySelectorAll('.stat-item .fa-bookmark').forEach(icon => {
            icon.parentElement.addEventListener('click', function(e) {
                e.stopPropagation();
                
                const isSaved = this.classList.contains('saved');
                let countText = this.innerHTML.split('</i>')[1].trim();
                let count = parseInt(countText.replace(/,|\D/g, ''));
                
                if (isSaved) {
                    this.classList.remove('saved');
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    count--;
                } else {
                    this.classList.add('saved');
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    count++;
                }
                
                this.innerHTML = `<i class="${icon.classList.value}"></i> ${count.toLocaleString()} 收藏`;
                showToast(isSaved ? "已取消收藏" : "收藏成功");
            });
        });
        
        // 评论查看
        document.querySelectorAll('.stat-item .fa-comment').forEach(icon => {
            icon.parentElement.addEventListener('click', function(e) {
                e.stopPropagation();
                const title = this.closest('.date-card, .banner-card').querySelector('.date-title, .banner-title').textContent;
                showToast(`查看 "${title}" 的评论`);
            });
        });
        
        // 卡片点击查看详情
        document.querySelectorAll('.date-card, .banner-card').forEach(card => {
            card.addEventListener('click', function() {
                const title = this.querySelector('.date-title, .banner-title').textContent;
                showToast(`查看 "${title}" 的详细信息`);
                // 实际应用中可跳转至详情页
                // window.location.href = 'detail.html';
            });
        });
        
        // 加载更多
        document.querySelector('.load-more').addEventListener('click', function() {
            this.innerHTML = '<i class="fas fa-spinner fa-spin"></i> 加载中...';
            
            // 模拟加载延迟
            setTimeout(() => {
                this.innerHTML = '<i class="fas fa-refresh"></i> 加载更多约会推荐';
                showToast('已加载更多约会推荐');
            }, 1500);
        });
        

    </script>
</body>
</html>

